//package shiro.com.controller;
//
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.CrossOrigin;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RestController;
//import shiro.com.basie.controller.BaseController;
//import shiro.com.basie.domain.AjaxResult;
//import shiro.com.domain.StSc;
//import shiro.com.domain.TableDataInfo;
//import shiro.com.service.IStScService;
//
//import java.util.List;
//
//import static shiro.com.basie.domain.AjaxResult.success;
//
//
//@RestController
//@CrossOrigin
//public class Hello extends BaseController {
//    @Autowired
//    IStScService stScServiceImpl;
//    @GetMapping("/system/sc/list")
//    public TableDataInfo index(StSc stSc){
//        List<StSc> list = stScServiceImpl.selectStScList(stSc);
//        return getDataTable(list);
//    }
//
//    @GetMapping(value = "/system/sc/{stScId}")
//    public AjaxResult getInfo(@PathVariable("stScId") Long stScId)
//    {
//        return success(stScServiceImpl.selectStScByStScId(stScId));
//    }
//
//
//
//}
